﻿using SqlSugar;

namespace Api.Shared.Model.Impl
{
    public class Person : IPerson
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }
        public string Name { get; set; } = string.Empty;
        public string Age { get; set; } = string.Empty;

        public string SayHello()
        {
            return $"{Id}:{Name}:{Age}";
        }
    }
}
